package com.itheima.mapper;

import com.github.pagehelper.Page;
import com.itheima.pojo.Setmeal;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface SetmealMapper {
    void add(Setmeal setmeal);
    void update(Setmeal setmeal);
    void deleteAssociation(Integer setmealId);
    void addAssociation(@Param("setmealId") Integer setmealId, @Param("checkgroupId") Integer checkgroupId);
    Setmeal findById(Integer id);
    Page<Setmeal> findByCondition(String queryString);
}
